package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 按排补课，调课，消课,缺课表
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("repair_course")
@ApiModel(value = "RepairCourse对象", description = "按排补课，调课，消课,缺课表")
public class RepairCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("插班的排课id")
    private Long schedulingDetailId;

    @ApiModelProperty("被调的排课id")
    private Long outSchedulingDetailId;

    @ApiModelProperty("消课时的订单id")
    private Long orderDetailId;

    @ApiModelProperty("校区id")
    private Long schoolId;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("被补课的记录id（请假补课为：record_course表id，缺课补课为:lack_course_log_id）")
    private Long recordCourseId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("班级名称")
    private String gradeName;

    @ApiModelProperty("上课日期")
    private LocalDate schoolDate;

    private String timeStart;

    private String timeEnd;

    @ApiModelProperty("上课开始时间")
    private LocalDateTime startDateTime;

    @ApiModelProperty("上课结束时间")
    private LocalDateTime endDateTime;

    @ApiModelProperty("老师id")
    private Long teacherId;

    @ApiModelProperty("老师名称")
    private String teacherName;

    @ApiModelProperty("教室id")
    private Long roomId;

    @ApiModelProperty("教室名称")
    private String roomName;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("科目名称")
    private String subjectsName;

    @ApiModelProperty("3补课，4调课，5消课,6缺课")
    private Integer courseType;

    @ApiModelProperty("1插班补课，2日程补课")
    private Integer repairType;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度")
    private Integer quarter;

    @ApiModelProperty("是否签到：0否，1是")
    private Integer isSignIn;

    @ApiModelProperty("0未上（补/消/调课），1已上（补/消/调课）")
    private Integer status;

    @ApiModelProperty("0正常，1删除")
    private Integer deleted;

    private Long createdId;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSchedulingDetailId() {
        return schedulingDetailId;
    }

    public void setSchedulingDetailId(Long schedulingDetailId) {
        this.schedulingDetailId = schedulingDetailId;
    }
    public Long getOutSchedulingDetailId() {
        return outSchedulingDetailId;
    }

    public void setOutSchedulingDetailId(Long outSchedulingDetailId) {
        this.outSchedulingDetailId = outSchedulingDetailId;
    }
    public Long getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Long getRecordCourseId() {
        return recordCourseId;
    }

    public void setRecordCourseId(Long recordCourseId) {
        this.recordCourseId = recordCourseId;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
    public LocalDate getSchoolDate() {
        return schoolDate;
    }

    public void setSchoolDate(LocalDate schoolDate) {
        this.schoolDate = schoolDate;
    }
    public String getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(String timeStart) {
        this.timeStart = timeStart;
    }
    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }
    public LocalDateTime getStartDateTime() {
        return startDateTime;
    }

    public void setStartDateTime(LocalDateTime startDateTime) {
        this.startDateTime = startDateTime;
    }
    public LocalDateTime getEndDateTime() {
        return endDateTime;
    }

    public void setEndDateTime(LocalDateTime endDateTime) {
        this.endDateTime = endDateTime;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }
    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public String getSubjectsName() {
        return subjectsName;
    }

    public void setSubjectsName(String subjectsName) {
        this.subjectsName = subjectsName;
    }
    public Integer getCourseType() {
        return courseType;
    }

    public void setCourseType(Integer courseType) {
        this.courseType = courseType;
    }
    public Integer getRepairType() {
        return repairType;
    }

    public void setRepairType(Integer repairType) {
        this.repairType = repairType;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarter() {
        return quarter;
    }

    public void setQuarter(Integer quarter) {
        this.quarter = quarter;
    }
    public Integer getIsSignIn() {
        return isSignIn;
    }

    public void setIsSignIn(Integer isSignIn) {
        this.isSignIn = isSignIn;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "RepairCourse{" +
            "id=" + id +
            ", schedulingDetailId=" + schedulingDetailId +
            ", outSchedulingDetailId=" + outSchedulingDetailId +
            ", orderDetailId=" + orderDetailId +
            ", schoolId=" + schoolId +
            ", studentId=" + studentId +
            ", recordCourseId=" + recordCourseId +
            ", gradeId=" + gradeId +
            ", gradeName=" + gradeName +
            ", schoolDate=" + schoolDate +
            ", timeStart=" + timeStart +
            ", timeEnd=" + timeEnd +
            ", startDateTime=" + startDateTime +
            ", endDateTime=" + endDateTime +
            ", teacherId=" + teacherId +
            ", teacherName=" + teacherName +
            ", roomId=" + roomId +
            ", roomName=" + roomName +
            ", subjectsId=" + subjectsId +
            ", subjectsName=" + subjectsName +
            ", courseType=" + courseType +
            ", repairType=" + repairType +
            ", yearPart=" + yearPart +
            ", quarter=" + quarter +
            ", isSignIn=" + isSignIn +
            ", status=" + status +
            ", deleted=" + deleted +
            ", createdId=" + createdId +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
        "}";
    }
}
